package com.villaday.idf.model;

import java.util.List;

/**
 * Created by tudou on 2018/8/17.
 */

public class Material_postersEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"poster":"http://betares.villago.cn/images/vip/poster_example.png"}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * poster : http://betares.villago.cn/images/vip/poster_example.png
         * <p>
         * "posterList": [
         * {
         * "width": "string,宽(像素)",
         * "height": "string,高(像素)",
         * "url": "string,海报地址"
         * }
         * ]
         */

       // private String poster;

        private List<PosterListEntity> posterList;

        public List<PosterListEntity> getPosterList() {
            return posterList;
        }

        public void setPosterList(List<PosterListEntity> posterList) {
            this.posterList = posterList;
        }

        public static class PosterListEntity {
            private String width;
            private String height;
            private String url;

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }

       /* public String getPoster() {
            return poster;
        }

        public void setPoster(String poster) {
            this.poster = poster;
        }*/
    }
}
